﻿/******************************************************************************
 * 
 * Announce: CSharp Kit, used to achieve data visualization.
 *           Copyright (C) ShenYongchen.
 *           All rights reserved.
 *   Author: 申永辰.郑州 (shenyczz@163.com)
 *  WebSite: http://github.com/shenyczz/CSharpKit
 *
 * THIS CODE IS LICENSED UNDER THE MIT LICENSE (MIT).
 * THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF 
 * ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
 * IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
 * PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
 * 
******************************************************************************/
using System;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;

// typedef int nc_type;
using nc_type = System.Int32;


namespace CSharpKit.Native.NetCDF
{
    public sealed partial class cnetcdf
    {
        static cnetcdf() { NetcdfNativeDependency.Enable(); }
        const string _dllname_netcdf_ = "netcdf.dll";


        /// <summary>
        /// 名称: nc_inq_libvers<br/>
        /// 功能: 请求 NetCDF 版本<br/>
        /// 状态: ?
        /// 原型: const char* nc_inq_libvers(void) <br/>
        /// </summary>
        /// <returns></returns>
        [DllImport(_dllname_netcdf_, CharSet = CharSet.Ansi)]
        public extern static string nc_inq_libvers();

        /// <summary>
        /// 名称: nc_strerror<br/>
        /// 功能: ?<br/>
        /// 状态: ?
        /// 原型: const char* nc_strerror(int ncerr) <br/>
        /// </summary>
        /// <param name="ncerr"></param>
        /// <returns></returns>
        [DllImport(_dllname_netcdf_, CharSet = CharSet.Ansi)]
        public extern static string nc_strerror(int ncerr);












        //}}@@@
    }

    class cnetcdf_A { }


}
